Redshift で NPR
https://gyazo.com/4d8f60525f1e7be9c4becd9417e5812f
無理やり OSL で ToonShading はできたっちゃできてたけれど, Arnold にあるやつと世界観が似ているやつがネイティブで入った -.icon
ToonMaterial
https://gyazo.com/c94f3449e06c9da3b5699e89941c9716https://gyazo.com/6ba821522231d595853ce55addfe8336
外部から Ramp 刺して Shading 調整するやつ
ドキュメント内にも記載があるけれど, シーンのライトの影響を受けるのでそちらの方でも出方が変わる
Note: Stylized Highlight
https://gyazo.com/e2207f6d1fd430cde9a8e17179a034f0
https://gyazo.com/9f65725e7cf7496f70af22364692a61ehttps://gyazo.com/c62d0bfc7ee311e32bfd031f0a65eea6
Light List に Stage 内の Light を指定することで, 任意の光源から Reflection (Highlight) を生成できるようになる
この際に refl_tone_map に入力したテクスチャで任意形状の Hilight (Stylized Highlight) っぽいことができる
Upgraded: 3.6.02
https://gyazo.com/1968f81f130be8f458e0a2b7c104ad56
Added new options to the Toon Material to control how opacity affects reflection+rim and also how semi-transparency rays interact with self
https://gyazo.com/14944095391451111007788016fe96ba https://gyazo.com/f3816b8416de07f28462d665d627f467
左: 追加されたパラメーター / 右: Toon 以外への Contribution の設定
Added new light contribution options to control how toon materials are affected by lights
ライト (Light LOP.iconLight LOP とか) 側に Contrinution を調整するオプションが追加 同じライトでNPR と ふつーのライティングの調整ができるようになった
minami110.icon GeometrySettings をいじらなくてもキャラの影だけ投影するもこれで制御できる
-.icon
TonemapPattern
minami110.icon RsRamp の亜種っぽい感じで, Screen Space の Ramp を生成する感じ
minami110.icon ハーフトーン表現とかは現状詰められないので従来の OSL とかでやったほうがいいかも
-.icon
Coutour (輪郭線)
https://gyazo.com/1233212d72757e4044114c90530ba2a9https://gyazo.com/0efa4d73027fb8de9bc516f91dd782e2
Contour 用の Shader Output が増えたのと Shader が追加された 現時点では
外側に線は出ていかない (BG 側の Shader で対応しろとのこと)
Mesh が分かれていると問答無用で Outline が分かれる (Object Id とかで Domain 調整できない)
https://gyazo.com/26b1dd7df49cf508298ce5b6910c5a57https://gyazo.com/51efa9c9fb4a778a90ca847da5864731
MaxonNoise の Voronoi 1
ThicknessModifier にノイズを指すと線幅に揺らぎを出せる
Note: Attribute から線の太さを調整する
https://gyazo.com/67271f5a332a4da0a2f4016dd48bf358 https://gyazo.com/d5956beca7306eb57a50287459f3693d
@minami110 You can use userDataInt of userDataScalar to control the thickness of the contour per object and if you set the thickness to 0 it's not going to create a contour for that object
ObjectId とかで線制御したいってフォーラムで聞いたらすぐ公式から回答があった
線が生成されてほしくないところに contour_thickness とか適当な Attribute を Paint しておけば制御できる みたいな話
これを ThicknessModifier に指す
minami110.icon セットアップが少しめんどいけど変に ObjectID のみより 完全にコントロールはできそう
Updated: 3.6.01 Detect Separate Meshes
https://gyazo.com/e2b4c0e39dec49c2d3cd8dc7c89f7ba8 https://gyazo.com/9c7c9104c29b7239b96dbd2c73feed2f
There is a new Contour option added to this version for both Internal and External contours: Detect Separate Meshes.
Contour Shader に Detect Separate Meshes オプションが追加された
別 Mesh に対して問答無用で線が出ていた (上記 Note: Attribute から線の太さを調整する で対応するしかなかった) のが制御可能/デフォルトでは出ないようになった
Updated 3.6.02
https://gyazo.com/850f333b4720435be94e5de1e2f6ce29
All Added an option to disable contours in reflection and refraction
Updated 2025.0: contour tonemap
https://gyazo.com/2ccce1f137e60753edfd2f6f043547dd
Color の方の Constant な値と乗算される